package com.shiro.sdk.realm;

import com.shiro.sdk.token.JwtAuthenticationToken;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.realm.AuthorizingRealm;


public abstract class JwtAuthorizingRealm extends AuthorizingRealm{

    @Override
    public boolean supports(AuthenticationToken token) {
        return token instanceof JwtAuthenticationToken;
    }
}
